using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;

namespace AspAlliance.SimpleCms
{
    public class CmsContent : ITemplate
    {

        private string _content = "";

        public CmsContent(string content)
        {
            _content = content;
        }

        void ITemplate.InstantiateIn(Control container)
        {
            container.Controls.Add(new LiteralControl(_content));
        }
    }
}
